home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / amos / AMOSList-0499.lzh / AMOSLIST / 000098_nobody_Sun Apr 11 09:56:16 1999.msg < prev    next >
Internet Message Format  |  1999-05-01  |  4KB

  1. Received: from onelist.com (pop.onelist.com [209.207.135.229])
  2.     by osf1.gmu.edu (8.8.8/8.8.8) with SMTP id JAA02228
  3.     for <mcox4@osf1.gmu.edu>; Sun, 11 Apr 1999 09:56:15 -0400 (EDT)
  4. Received: (qmail 32299 invoked by alias); 11 Apr 1999 13:40:58 -0000
  5. Received: (qmail 32028 invoked from network); 11 Apr 1999 13:40:45 -0000
  6. Received: from unknown (HELO monsoon.dial.pipex.net) (158.43.128.69) by pop.onelist.com with SMTP; 11 Apr 1999 13:40:45 -0000
  7. Received: (qmail 9022 invoked from network); 11 Apr 1999 13:55:19 -0000
  8. Received: from userbp91.uk.uudial.com (HELO oemcomputer) (62.188.146.86) by smtp.dial.pipex.com with SMTP; 11 Apr 1999 13:55:19 -0000
  9. Message-ID: <007e01be8423$2f67b4c0$5692bc3e@oemcomputer>
  10. From: "Alastair Murray" <Alastair.Murray@ukgateway.net>
  11. To: <amos-list@onelist.com>
  12. Date: Sun, 11 Apr 1999 14:16:10 +0100
  13. X-Priority: 3
  14. X-MSMail-Priority: Normal
  15. X-Mailer: Microsoft Outlook Express 4.72.3110.1
  16. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
  17. Mailing-List: list amos-list@onelist.com; contact amos-list-owner@onelist.com
  18. Delivered-To: mailing list amos-list@onelist.com
  19. Precedence: bulk
  20. List-Unsubscribe: <mailto:amos-list-unsubscribe@ONElist.com>
  21. Reply-to: amos-list@onelist.com
  22. Mime-Version: 1.0
  23. Content-Type: text/plain; charset="iso-8859-1"
  24. Content-Transfer-Encoding: 7bit
  25. Subject: [amos-list] Re: AI programming
  26. Status: O
  27. X-Status: 
  28.  
  29. From: "Alastair Murray" <Alastair.Murray@ukgateway.net>
  30.  
  31. >>    Does anyone know how I would even start to program a computer AI
  32. player
  33. >> in the bomberman game I'm writing. I've tried a few times but all it does
  34. >> is run into the flames. (typical, just typical.).
  35. >
  36. >Don't they always ?
  37. >
  38. >>    I would be greatful for any ideas, or code (preferably in psudo-code,
  39. >> explaining the games internal tables would take a while ;)
  40. >>    I'd be greatful for any help ;)
  41. >
  42. >Do you want real AI, with learning, or just someone to play against ?  Heh.
  43. >Not familiar with the format game you are writing though, or what the AI is
  44. >to achive.  Do you want to acheive heuristics, or some other kind of stuff
  45. ?
  46. >
  47. >Either way, if you have a list of things for it to do, and it can do each
  48. of
  49. >these "at random", make a series (array) of number values for each choice
  50. in
  51. >each situation, then add or subtract one from a failure or a success.  Save
  52. >the array.  Instant learning system.
  53.  
  54.  
  55. Neural networks simplified into 4 lines! Amazing! :)
  56.  
  57. That sort of thing will be too slow on an AMIGA with AMOS.
  58.  
  59. Just use loads of simple routines.
  60.  
  61. e.g. Every turn the enemy is decided which way to move.
  62.  
  63. If "Explosion to the left" then Don't move that way!
  64.  
  65. You can also expand it to make them do things like avoid bombs about to
  66. explode.
  67.  
  68. If "bomb is on the left vertical column and about to explode" then don`t
  69. move that way.
  70.  
  71. You can make them more/less intelligent by either adding more of these such
  72. simple orders or by decreasing/increasing the amount of time per `turn`.
  73.  
  74. i.e. If they are moving left, they continue to move left until their next
  75. `turn` where the AI has a look round and decides which way to move.
  76. The less time between turns, the better the enemy is at avoiding bombs but
  77. the slower the game is.
  78.  
  79. -Murray
  80.  
  81.  
  82.  
  83. ------------------------------------------------------------------------
  84. Start a new hobby. Meet a new friend.
  85. http://www.ONElist.com
  86. ONElist:  The leading provider of free e-mail list services!
  87. ------------------------------------------------------------------------
  88. Official AMOS WWW: http://members.xoom.com/AmosFactory/front.html